package com.yb.guigu.pick.rabbitmq.messager.api.model;

import com.yb.guigu.pick.core.domain.mq.BaseSend;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/12 12:42
 * FileName: MessageContent
 * Description:
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MessageContent<T extends BaseSend> implements Serializable {
    private String msgId;
    private T content;
}
